credit2: Different unbalance tolerance for underloaded and overloaded queues
authorKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:32:20 +0000 (08:32 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 08:32:20 +0000 (08:32 +0000)
commit194b5dc413a2b9636f1a163991d357822c4dbcdc
treefac92593ae7261408963a46219c9600be6eb555b
parent32c670623f24f828fd3de2f535784bc336ff8095
credit2: Different unbalance tolerance for underloaded and overloaded queues

Allow the "unbalance tolerance" -- the amount of difference between
two runqueues that will be allowed before rebalancing -- to differ
depending on how busy the runqueue is.  If it's less than 100%,
default to a difference of 1.0; if it's more than 100%, default to a
tolerance of 0.125.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit2.c